package com.ruoyi.mall.common.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商户申请审核对象 dts_merchant_application
 *
 * @author ruoyi
 * @date 2025-04-24
 */
public class DtsMerchantApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 商户名 */
    @Excel(name = "商户名")
    private String username;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String mail;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String tel;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 店铺名 */
    @Excel(name = "店铺名")
    private String shopName;

    /** 主营类 */
    @Excel(name = "主营类")
    private String mainManage;

    /** 身份证头像面 */
    @Excel(name = "身份证头像面")
    private String idHeadPic;

    /** 身份证国徽面 */
    @Excel(name = "身份证国徽面")
    private String idNationalEmblemPic;

    /** 是否三证合一 */
    @Excel(name = "是否三证合一")
    private String isThreeCertInOne;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String businessLicensePic;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Long approveStatus;

    @Excel(name = "审批意见")
    private String opinion;

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getUsername()
    {
        return username;
    }
    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }

    public String getAvatar()
    {
        return avatar;
    }
    public void setMail(String mail)
    {
        this.mail = mail;
    }

    public String getMail()
    {
        return mail;
    }
    public void setTel(String tel)
    {
        this.tel = tel;
    }

    public String getTel()
    {
        return tel;
    }
    public void setApplyTime(Date applyTime)
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime()
    {
        return applyTime;
    }
    public void setShopName(String shopName)
    {
        this.shopName = shopName;
    }

    public String getShopName()
    {
        return shopName;
    }
    public void setMainManage(String mainManage)
    {
        this.mainManage = mainManage;
    }

    public String getMainManage()
    {
        return mainManage;
    }
    public void setIdHeadPic(String idHeadPic)
    {
        this.idHeadPic = idHeadPic;
    }

    public String getIdHeadPic()
    {
        return idHeadPic;
    }
    public void setIdNationalEmblemPic(String idNationalEmblemPic)
    {
        this.idNationalEmblemPic = idNationalEmblemPic;
    }

    public String getIdNationalEmblemPic()
    {
        return idNationalEmblemPic;
    }
    public void setIsThreeCertInOne(String isThreeCertInOne)
    {
        this.isThreeCertInOne = isThreeCertInOne;
    }

    public String getIsThreeCertInOne()
    {
        return isThreeCertInOne;
    }
    public void setBusinessLicensePic(String businessLicensePic)
    {
        this.businessLicensePic = businessLicensePic;
    }

    public String getBusinessLicensePic()
    {
        return businessLicensePic;
    }
    public void setApproveStatus(Long approveStatus)
    {
        this.approveStatus = approveStatus;
    }

    public Long getApproveStatus()
    {
        return approveStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("avatar", getAvatar())
            .append("mail", getMail())
            .append("tel", getTel())
            .append("applyTime", getApplyTime())
            .append("shopName", getShopName())
            .append("mainManage", getMainManage())
            .append("idHeadPic", getIdHeadPic())
            .append("idNationalEmblemPic", getIdNationalEmblemPic())
            .append("isThreeCertInOne", getIsThreeCertInOne())
            .append("businessLicensePic", getBusinessLicensePic())
            .append("approveStatus", getApproveStatus())
            .toString();
    }
}
